package com.lxh;

public class test {
    public static void main(String[] args) {
        int[] arr = {7, 4, -2, 19, 13, 6};
        // 排序
        for (int j = 1; j < arr.length; j++) {
            for (int i = 0; i < arr.length - j; i++) {
                if (arr[i] > arr[i + 1]) {
                    int temp = arr[i];
                    arr[i] = arr[i + 1];
                    arr[i + 1] = temp;
                }
            }
        }
        // 打印
        for (int i = 0; i < arr.length; i++) {
            System.out.print(arr[i] + ", ");
        }
        System.out.println("输出结束");
        for(int i = 1;i <= 10 ; i++){
            System.out.println("李小孩："+i);
        }
    }
}
